import { defineStore } from 'pinia'
import { ref } from 'vue'
import { formatTime } from '@/utils/format'
export const useDateStore = defineStore('date', () => {
  const time = ref(new Date())
  const useFormatTime = formatTime(time.value)
  return {
    useFormatTime,
  }
})
